package com.jinghua.treatment.mapper;

import com.jinghua.treatment.entity.PrescriptionDetail;
import com.jinghua.treatment.entity.PrescriptionDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PrescriptionDetailMapper {
    int countByExample(PrescriptionDetailExample example);

    int deleteByExample(PrescriptionDetailExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(PrescriptionDetail record);

    int insertSelective(PrescriptionDetail record);

    List<PrescriptionDetail> selectByExample(PrescriptionDetailExample example);

    PrescriptionDetail selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") PrescriptionDetail record, @Param("example") PrescriptionDetailExample example);

    int updateByExample(@Param("record") PrescriptionDetail record, @Param("example") PrescriptionDetailExample example);

    int updateByPrimaryKeySelective(PrescriptionDetail record);

    int updateByPrimaryKey(PrescriptionDetail record);
}